package main

import "encoding/json"

func main() {
	movie := Movie{"大话西游", []string{"fengge", "gege"}, 12, 99}

	jsonStr, err := json.Marshal(movie)
}

type Movie struct {
	Title string   `json:"title"`
	Actor []string `json:"actor"`
	Price int      `json:"price"`
	Year  int      `json:"year"`
}
